package teach.shuji.java12.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.context.annotation.Description;

import java.time.LocalDateTime;

@Data
@TableName("sys_dept")
public class Department {

    long deptId;

    long parentId;

    @Schema(description = "层级")
    String ancestors;

    String deptName;

    int orderNum;

    String leader;

    String phone;

    String email;

    char status;

    char delFlag;

    String createBy;

    LocalDateTime createTime;

    String updateBy;

    LocalDateTime updateTime;
}
